import React from 'react';
import {Tree, Icon} from 'antd';

const {TreeNode} = Tree;


const aaaa = <Tree
  showIcon
  defaultExpandAll
  defaultSelectedKeys={['0-0-0']}
  switcherIcon={<Icon type="down"/>}
>
  <TreeNode icon={<Icon type="smile-o"/>} title="parent 1" key="0-0">
    <TreeNode icon={<Icon type="meh-o"/>} title="leaf" key="0-0-0"/>
    <TreeNode
      icon={({selected}) => <Icon type={selected ? 'frown' : 'frown-o'}/>}
      title="leaf"
      key="0-0-1"
    />
  </TreeNode>
</Tree>


export default aaaa
